Part Number Hot Search : 
UM238M IRFN340 AD823ANZ E000768 RGP10G S2301 16016 80C196K
Product Description
Full Text Search
 

To Download LPC2124 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  lpc2114/LPC2124 single-chip 16/32-bit microcontrollers; 128/256 kb isp/iap flash with 10-bit adc rev. 03 22 december 2004 product data 1. general description the lpc2114/LPC2124 are based on a 16/32 bit arm7tdmi-s? cpu with real-time emulation and embedded trace support, together with 128/256 kilobytes (kb) of embedded high speed ?ash memory. a 128-bit wide memory interface and a unique accelerator architecture enable 32-bit code execution at maximum clock rate. for critical code size applications, the alternative 16-bit thumb? mode reduces code by more than 30 % with minimal performance penalty. with their compact 64 pin package, low power consumption, various 32-bit timers, 4-channel 10-bit adc, pwm channels and 46 gpio lines with up to 9 external interrupt pins these microcontrollers are particularly suitable for industrial control, medical systems, access control and point-of-sale. with a wide range of serial communications interfaces, they are also very well suited for communication gateways, protocol converters and embedded soft modems as well as many other general-purpose applications. 2. features 2.1 key features n 16/32-bit arm7tdmi-s microcontroller in a tiny lqfp64 package. n 16 kb on-chip static ram. n 128/256 kb on-chip flash program memory. 128-bit wide interface/accelerator enables high speed 60 mhz operation. n in-system programming (isp) and in-application programming (iap) via on-chip boot-loader software. flash programming takes 1 ms per 512 byte line. single sector or full chip erase takes 400 ms. n embeddedice-rt interface enables breakpoints and watch points. interrupt service routines can continue to execute whilst the foreground task is debugged with the on-chip realmonitor? software. n embedded trace macrocell? enables non-intrusive high speed real-time tracing of instruction execution. n four channel 10-bit a/d converter with conversion time as low as 2.44 m s. n two 32-bit timers (with 4 capture and 4 compare channels), pwm unit (6 outputs), real time clock and watchdog. n multiple serial interfaces including two uarts (16c550), fast i 2 c (400 kbits/s) and two spis?. n 60 mhz maximum cpu clock available from programmable on-chip phase-locked loop with settling time of 100 m s. n vectored interrupt controller with con?gurable priorities and vector addresses.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 2 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. n up to forty-six 5 v tolerant general purpose i/o pins. up to nine edge or level sensitive external interrupt pins available. n on-chip crystal oscillator with an operating range of 1 mhz to 30 mhz. n two low power modes, idle and power-down. n processor wake-up from power-down mode via external interrupt. n individual enable/disable of peripheral functions for power optimization. n dual power supply: u cpu operating voltage range of 1.65 v to 1.95 v (1.8 v 0.15 v). u i/o power supply range of 3.0 v to 3.6 v (3.3 v 10 %) with 5 v tolerant i/o pads.16/32-bit arm7tdmi-s processor. 3. ordering information 3.1 ordering options table 1: ordering information type number package name description version lpc2114fbd64 lqfp64 plastic low pro?le quad ?at package; 64 leads; body 10 10 1.4 mm sot314-2 LPC2124fbd64 lqfp64 plastic low pro?le quad ?at package; 64 leads; body 10 10 1.4 mm sot314-2 table 2: part options type number flash memory ram can temperature range ( c) lpc2114fbd64 128 kb 16 kb - - 40 to +85 LPC2124fbd64 256 kb 16 kb - - 40 to +85
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 3 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 4. block diagram (1) when test/debug interface is used, gpio/other functions sharing these pins are not available. fig 1. block diagram. internal flash controller 002aaa659 ahb bridge emulation trace module test/debug interface ahb decoder ahb to vpb bridge vpb divider vectored interrupt controller system functions pll system clock scl* p0 (30 pins) p1.31:16 ain3:0* sda* trst (1) tms (1) tck (1) tdi (1) tdo (1) rtck xtal2 xtal1 rst v 3 v 1.8 v ss sck* mosi* miso* eint0* eint1* eint2* eint3* 8 x cap* 8 x mat* pwm1..6* ssel* txd0,1* rxd0,1* modem control (6 pins)* spi serial interface 0 & 1 i 2 c serial interface uart0/uart1 real time clock watchdog timer system control external interrupts general purpose i/o capture/ compare timer0/timer1 pwm0 10-bit a/d converter amba ahb (advanced high-performance bus) 128/256 kb flash arm7tdmi-s internal sram controller 16 kb sram arm7 local bus apb *shared with gpio
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 4 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 5. pinning information 5.1 pinning fig 2. pinning. handbook, full pagewidth lpc2114/LPC2124 002aaa660 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 p1.27/td0 v 18a xtal1 xtal2 p1.28/tdi v ssa v ssa_pll reset p1.29/tck p0.20/mat1.3/ssel1/eint3 p0.19/mat1.2/mosi1/cap1.2 p0.18/cap1.3/miso1/mat1.3 p1.30/tms v 3 v ss v 18 v 18 v ss p0.0/txd0/pwm1 p1.31/trst p0.1/rxd0/pwm3/eint0 p0.2/scl/cap0.0 v 3 p1.26/rtck v ss p0.3/sda/mat0.0/eint1 p0.4/sck0/cap0.1 p1.25/extin0 p0.5/miso0/mat0.1 p0.6/mosi0/cap0.2 p0.7/ssel0/pwm2/eint2 p1.24/traceclk p0.21/pwm5/cap1.3 p0.22/cap0.0/mat0.0 p0.23 p1.19/tracepkt3 p0.24 v ss v 3a p1.18/tracepkt2 p0.25 nc p0.27/ain0/cap0.1/mat0.1 p1.17/tracepkt1 p0.28/ain1/cap0.2/mat0.2 p0.29/ain2/cap0.3/mat0.3 p0.30/ain3/eint3/cap0.0 p1.16/tracepkt0 p1.20/tracesync p0.17/cap1.2/sck1/mat1.2 p0.16/eint0/mat0.2/cap0.2 p0.15/ri1/eint2 p1.21/pipestat0 v 3 v ss p0.14/dcd1/eint1 p1.22/pipestat1 p0.13/dtr1/mat1.1 p0.12/dsr1/mat1.0 p0.11/cts1/cap1.1 p1.23/pipestat2 p0.10/rts1/cap1.0 p0.9/rxd1/pwm6/eint3 p0.8/txd1/pwm4
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 5 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 5.2 pin description table 3: pin description symbol pin type description p0.0 to p0.31 i/o port 0: port 0 is a 32-bit bi-directional i/o port with individual direction controls for each bit. the operation of port 0 pins depends upon the pin function selected via the pin connect block. pins 26 and 31 of port 0 are not available. p0.0 19 o txd0 transmitter output for uart0. o pwm1 pulse width modulator output 1. p0.1 21 i rxd0 receiver input for uart0. o pwm3 pulse width modulator output 3. i eint0 external interrupt 0 input p0.2 22 i/o scl i 2 c clock input/output. open drain output (for i 2 c compliance). i cap0.0 capture input for timer 0, channel 0. p0.3 26 i/o sda i 2 c data input/output. open drain output (for i 2 c compliance). o mat0.0 match output for timer 0, channel 0. i eint1 external interrupt 1 input. p0.4 27 i/o sck0 serial clock for spi0. spi clock output from master or input to slave. i cap0.1 capture input for timer 0, channel 1. p0.5 29 i/o miso0 master in slave out for spi0. data input to spi master or data output from spi slave. o mat0.1 match output for timer 0, channel 1. p0.6 30 i/o mosi0 master out slave in for spi0. data output from spi master or data input to spi slave. i cap0.2 capture input for timer 0, channel 2. p0.7 31 i ssel0 slave select for spi0. selects the spi interface as a slave. o pwm2 pulse width modulator output 2. i eint2 external interrupt 2 input. p0.8 33 o txd1 transmitter output for uart1. o pwm4 pulse width modulator output 4. p0.9 34 i rxd1 receiver input for uart1. o pwm6 pulse width modulator output 6. i eint3 external interrupt 3 input. p0.10 35 o rts1 request to send output for uart1. i cap1.0 capture input for timer 1, channel 0. p0.11 37 i cts1 clear to send input for uart1. i cap1.1 capture input for timer 1, channel 1. p0.12 38 i dsr1 data set ready input for uart1. o mat1.0 match output for timer 1, channel 0.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 6 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. p0.13 39 o dtr1 data terminal ready output for uart1. o mat1.1 match output for timer 1, channel 1. p0.14 41 i dcd1 data carrier detect input for uart1. i eint1 external interrupt 1 input. note: low on this pin while reset is low forces on-chip boot-loader to take control of the part after reset. p0.15 45 i ri1 ring indicator input for uart1. i eint2 external interrupt 2 input. p0.16 46 i eint0 external interrupt 0 input. o mat0.2 match output for timer 0, channel 2. i cap0.2 capture input for timer 0, channel 2. p0.17 47 i cap1.2 capture input for timer 1, channel 2. i/o sck1 serial clock for spi1. spi clock output from master or input to slave. o mat1.2 match output for timer 1, channel 2. p0.18 53 i cap1.3 capture input for timer 1, channel 3. i/o miso1 master in slave out for spi1. data input to spi master or data output from spi slave. o mat1.3 match output for timer 1, channel 3. p0.19 54 o mat1.2 match output for timer 1, channel 2. i/o mosi1 master out slave in for spi1. data output from spi master or data input to spi slave. i cap1.2 capture input for timer 1, channel 2. p0.20 55 o mat1.3 match output for timer 1, channel 3. i ssel1 slave select for spi1. selects the spi interface as a slave. i eint3 external interrupt 3 input. p0.21 1 o pwm5 pulse width modulator output 5. i cap1.3 capture input for timer 1, channel 3. p0.22 2 i cap0.0 capture input for timer 0, channel 0. o mat0.0 match output for timer 0, channel 0. p0.23 3 i/o general purpose bidirectional digital port only. p0.24 5 i/o general purpose bidirectional digital port only. p0.25 39 i/o general purpose bidirectional digital port only. p0.27 11 i ain0 a/d converter, input 0. this analog input is always connected to its pin. i cap0.1 capture input for timer 0, channel 1. o mat0.1 match output for timer 0, channel 1. table 3: pin description continued symbol pin type description
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 7 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. p0.28 13 i ain1 a/d converter, input 1. this analog input is always connected to its pin. i cap0.2 capture input for timer 0, channel 2. o mat0.2 match output for timer 0, channel 2. p0.29 14 i ain2 a/d converter, input 2. this analog input is always connected to its pin. i cap0.3 capture input for timer 0, channel 3. o mat0.3 match output for timer 0, channel 3. p0.30 15 i ain3 a/d converter, input 3. this analog input is always connected to its pin. i eint3 external interrupt 3 input. i cap0.0 capture input for timer 0, channel 0. p1.0 to p1.31 i/o port 1: port 1 is a 32-bit bi-directional i/o port with individual direction controls for each bit. the operation of port 1 pins depends upon the pin function selected via the pin connect block. pins 0 through 15 of port 1 are not available. p1.16 16 o tracepkt0 trace packet, bit 0. standard i/o port with internal pull-up. p1.17 12 o tracepkt1 trace packet, bit 1. standard i/o port with internal pull-up. p1.18 8 o tracepkt2 trace packet, bit 2. standard i/o port with internal pull-up. p1.19 4 o tracepkt3 trace packet, bit 3. standard i/o port with internal pull-up. p1.20 48 o tracesync trace synchronization. standard i/o port with internal pull-up. note: low on this pin while reset is low, enables pins p1.25:16 to operate as trace port after reset. p1.21 44 o pipestat0 pipeline status, bit 0. standard i/o port with internal pull-up. p1.22 40 o pipestat1 pipeline status, bit 1. standard i/o port with internal pull-up. p1.23 36 o pipestat2 pipeline status, bit 2. standard i/o port with internal pull-up. p1.24 32 o traceclk trace clock. standard i/o port with internal pull-up. p1.25 28 i extin0 external trigger input. standard i/o with internal pull-up. p1.26 24 i/o rtck returned test clock output. extra signal added to the jtag port. assists debugger synchronization when processor frequency varies. bi-directional pin with internal pull-up. note: low on this pin while reset is low, enables pins p1.31:26 to operate as debug port after reset. p1.27 64 o tdo test data out for jtag interface. p1.28 60 i tdi test data in for jtag interface. p1.29 56 i tck test clock for jtag interface. p1.30 52 i tms test mode select for jtag interface. p1.31 20 i trst test reset for jtag interface. nc 10 nc pin not connected. reset 57 i external reset input: a low on this pin resets the device, causing i/o ports and peripherals to take on their default states, and processor execution to begin at address 0. ttl with hysteresis, 5 v tolerant. xtal1 62 i input to the oscillator circuit and internal clock generator circuits. table 3: pin description continued symbol pin type description
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 8 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. xtal2 61 o output from the oscillator ampli?er. v ss 6, 18, 25, 42, 50 i ground: 0 v reference. v ssa 59 i analog ground: 0 v reference. this should nominally be the same voltage as v ss , but should be isolated to minimize noise and error. v ssa_pll 58 i pll analog ground: 0 v reference. this should nominally be the same voltage as v ss , but should be isolated to minimize noise and error. v 18 17, 49 i 1.8 v core power supply: this is the power supply voltage for internal circuitry. v 18a 63 i analog 1.8 v core power supply: this is the power supply voltage for internal circuitry. this should be nominally the same voltage as v 18 but should be isolated to minimize noise and error. v 3 23, 43, 51 i 3.3 v pad power supply: this is the power supply voltage for the i/o ports. v 3a 7i analog 3.3 v pad power supply: this should be nominally the same voltage as v 3 but should be isolated to minimize noise and error. table 3: pin description continued symbol pin type description
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 9 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6. functional description details of the lpc2114/LPC2124 systems and peripheral functions are described in the following sections. 6.1 architectural overview the arm7tdmi-s is a general purpose 32-bit microprocessor, which offers high performance and very low power consumption. the arm ? architecture is based on reduced instruction set computer (risc) principles, and the instruction set and related decode mechanism are much simpler than those of microprogrammed complex instruction set computers. this simplicity results in a high instruction throughput and impressive real-time interrupt response from a small and cost-effective processor core. pipeline techniques are employed so that all parts of the processing and memory systems can operate continuously. typically, while one instruction is being executed, its successor is being decoded, and a third instruction is being fetched from memory. the arm7tdmi-s processor also employs a unique architectural strategy known as thumb, which makes it ideally suited to high-volume applications with memory restrictions, or applications where code density is an issue. the key idea behind thumb is that of a super-reduced instruction set. essentially, the arm7tdmi-s processor has two instruction sets: ? the standard 32-bit arm set. ? a 16-bit thumb set. the thumb sets 16-bit instruction length allows it to approach twice the density of standard arm code while retaining most of the arms performance advantage over a traditional 16-bit processor using 16-bit registers. this is possible because thumb code operates on the same 32-bit register set as arm code. thumb code is able to provide up to 65 % of the code size of arm, and 160 % of the performance of an equivalent arm processor connected to a 16-bit memory system. 6.2 on-chip flash program memory the lpc2114/LPC2124 incorporate a 128 kb and 256 kb flash memory system respectively. this memory may be used for both code and data storage. programming of the flash memory may be accomplished in several ways. it may be programmed in system via the serial port. the application program may also erase and/or program the flash while the application is running, allowing a great degree of ?exibility for data storage ?eld ?rmware upgrades, etc. when on-chip bootloader is used, 120/248 kb of flash memory is available for user code. the lpc2114/LPC2124 flash memory provides a minimum of 100,000 erase/write cycles and 20 years of data retention. on-chip bootloader (as of revision 1.60) provides code read protection (crp) for the lpc2114/LPC2124 on-chip flash memory. when the crp is enabled, the jtag debug port and isp commands accessing either the on-chip ram or flash memory
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 10 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. are disabled. however, the isp flash erase command can be executed at any time (no matter whether the crp is on or off). removal of crp is achieved by erasure of full on-chip user flash. with the crp off, full access to the chip via the jtag and/or isp is restored. 6.3 on-chip static ram on-chip static ram may be used for code and/or data storage. the sram may be accessed as 8-bits, 16-bits, and 32-bits. the lpc2114/LPC2124 provide 16 kb of static ram. 6.4 memory map the lpc2114/LPC2124 memory maps incorporate several distinct regions, as shown in the following ?gures. in addition, the cpu interrupt vectors may be re-mapped to allow them to reside in either flash memory (the default) or on-chip static ram. this is described in section 6.19 system control .
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 11 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.5 interrupt controller the vectored interrupt controller (vic) accepts all of the interrupt request inputs and categorizes them as fiq, vectored irq, and non-vectored irq as de?ned by programmable settings. the programmable assignment scheme means that priorities of interrupts from the various peripherals can be dynamically assigned and adjusted. fast interrupt request (fiq) has the highest priority. if more than one request is assigned to fiq, the vic combines the requests to produce the fiq signal to the arm processor. the fastest possible fiq latency is achieved when only one request is classi?ed as fiq, because then the fiq service routine can simply start dealing with that device. but if more than one request is assigned to the fiq class, the fiq service routine can read a word from the vic that identi?es which fiq source(s) is (are) requesting an interrupt. fig 3. lpc2114/LPC2124 memory map. ahb peripherals vpb peripherals reserved address space boot block (re-mapped from on-chip flash memory reserved address space 16 kbyte on-chip static ram reserved address space 256 kbyte on-chip flash memory (LPC2124) 0xffff ffff 0xf000 0000 0xefff ffff 0xe000 0000 0xc000 0000 0xdfff ffff 0x8000 0000 0x7fff ffff 0x7fff e000 0x7fff dfff 0x4004 0000 0x4000 3fff 0x4000 0000 0x3fff ffff 0x0004 0000 0x0003 ffff 0x0002 0000 4.0 gb 3.75 gb 3.5 gb 3.0 gb 2.0 gb 1.0 gb 128 kbyte on-chip flash memory (lpc2114) 0x0001 ffff 0x0000 0000 0.0 gb 002aaa661
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 12 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. vectored irqs have the middle priority. sixteen of the interrupt requests can be assigned to this category. any of the interrupt requests can be assigned to any of the 16 vectored irq slots, among which slot 0 has the highest priority and slot 15 has the lowest. non-vectored irqs have the lowest priority. the vic combines the requests from all the vectored and non-vectored irqs to produce the irq signal to the arm processor. the irq service routine can start by reading a register from the vic and jumping there. if any of the vectored irqs are requesting, the vic provides the address of the highest-priority requesting irqs service routine, otherwise it provides the address of a default routine that is shared by all the non-vectored irqs. the default routine can read another vic register to see what irqs are active. 6.5.1 interrupt sources ta b l e 4 lists the interrupt sources for each peripheral function. each peripheral device has one interrupt line connected to the vectored interrupt controller, but may have several internal interrupt ?ags. individual interrupt ?ags may also represent more than one interrupt source. table 4: interrupt sources block flag(s) vic channel # wdt watchdog interrupt (wdint) 0 - reserved for software interrupts only 1 arm core embedded ice, dbgcommrx 2 arm core embedded ice, dbgcommtx 3 timer 0 match 0 - 3 (mr0, mr1, mr2, mr3) capture 0 - 3 (cr0, cr1, cr2, cr3) 4 timer 1 match 0 - 3 (mr0, mr1, mr2, mr3) capture 0 - 3 (cr0, cr1, cr2, cr3) 5 uart0 rx line status (rls) transmit holding register empty (thre) rx data available (rda) character time-out indicator (cti) 6 uart1 rx line status (rls) transmit holding register empty (thre) rx data available (rda) character time-out indicator (cti) modem status interrupt (msi) 7 pwm0 match 0 - 6 (mr0, mr1, mr2, mr3, mr4, mr5, mr6) 8 i 2 c si (state change) 9 spi0 spif, modf 10 spi1 spif, modf 11 pll pll lock (plock) 12 rtc rtccif (counter increment), rtcalf (alarm) 13
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 13 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.6 pin connect block the pin connect block allows selected pins of the microcontroller to have more than one function. con?guration registers control the multiplexers to allow connection between the pin and the on chip peripherals. peripherals should be connected to the appropriate pins prior to being activated, and prior to any related interrupt(s) being enabled. activity of any enabled peripheral function that is not mapped to a related pin should be considered unde?ned. the pin control module contains three registers as shown in ta b l e 5 . 6.7 pin function select register 0 (pinsel0 - 0xe002c000) the pinsel0 register controls the functions of the pins as per the settings listed in ta b l e 6 . the direction control bit in the iodir register is effective only when the gpio function is selected for a pin. for other functions, direction is controlled automatically. settings other than those shown in ta b l e 6 are reserved, and should not be used system control external interrupt 0 (eint0) 14 external interrupt 1 (eint1) 15 external interrupt 2 (eint2) 16 external interrupt 3 (eint3) 17 a/d a/d converter 18 table 4: interrupt sources continued block flag(s) vic channel # table 5: address name description access 0xe002c000 pinsel0 pin function select register 0 read/write 0xe002c004 pinsel1 pin function select register 1 read/write 0xe002c014 pinsel2 pin function select register 2 read/write table 6: pin function select register 0 (pinsel0 - 0xe002c000) pinsel0 pin name value function value after reset 1:0 p0.0 0 0 gpio port 0.0 0 0 1 txd (uart0) 1 0 pwm1 1 1 reserved 3:2 p0.1 0 0 gpio port 0.1 0 0 1 rxd (uart0) 1 0 pwm3 1 1 eint0 5:4 p0.2 0 0 gpio port 0.2 0 0 1 scl (i 2 c) 1 0 capture 0.0 (timer 0) 1 1 reserved
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 14 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 7:6 p0.3 0 0 gpio port 0.3 0 01sda (i 2 c) 1 0 match 0.0 (timer 0) 1 1 eint1 9:8 p0.4 0 0 gpio port 0.4 0 0 1 sck (spi0) 1 0 capture 0.1 (timer 0) 1 1 reserved 11:10 p0.5 0 0 gpio port 0.5 0 0 1 miso (spi0) 1 0 match 0.1 (timer 0) 1 1 reserved 13:12 p0.6 0 0 gpio port 0.6 0 0 1 mosi (spi0) 1 0 capture 0.2 (timer 0) 1 1 reserved 15:14 p0.7 0 0 gpio port 0.7 0 0 1 ssel (spi0) 1 0 pwm2 1 1 eint2 17:16 p0.8 0 0 gpio port 0.8 0 0 1 txd uart1 1 0 pwm4 1 1 reserved 19:18 p0.9 0 0 gpio port 0.9 0 0 1 rxd (uart1) 1 0 pwm6 1 1 eint3 21:20 p0.10 0 0 gpio port 0.10 0 0 1 rts (uart1) 1 0 capture 1.0 (timer 1) 1 1 reserved 23:22 p0.11 0 0 gpio port 0.11 0 0 1 cts (uart1) 1 0 capture 1.1 (timer 1) 1 1 reserved 25:24 p0.12 0 0 gpio port 0.12 0 0 1 dsr (uart1) 1 0 match 1.0 (timer 1) 1 1 reserved table 6: pin function select register 0 (pinsel0 - 0xe002c000) continued pinsel0 pin name value function value after reset
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 15 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.8 pin function select register 1 (pinsel1 - 0xe002c004) the pinsel1 register controls the functions of the pins as per the settings listed in ta b l e 7 . the direction control bit in the iodir register is effective only when the gpio function is selected for a pin. for other functions direction is controlled automatically. settings other than those shown in the table are reserved, and should not be used. 27:26 p0.13 0 0 gpio port 0.13 0 0 1 dtr (uart1) 1 0 match 1.1 (timer 1) 1 1 reserved 29:28 p0.14 0 0 gpio port 0.14 0 0 1 dcd (uart1) 1 0 eint1 1 1 reserved 31:30 p0.15 0 0 gpio port 0.15 0 0 1 ri (uart1) 1 0 eint2 1 1 reserved table 6: pin function select register 0 (pinsel0 - 0xe002c000) continued pinsel0 pin name value function value after reset table 7: pin function select register 1 (pinsel1 - 0xe002c004) pinsel1 pin name value function value after reset 1:0 p0.16 0 0 gpio port 0.16 0 0 1 eint0 1 0 match 0.2 (timer 0) 1 1 capture 0.2 (timer 0) 3:2 p0.17 0 0 gpio port 0.17 0 0 1 capture 1.2 (timer 1) 1 0 sck (spi1) 1 1 match 1.2 (timer 1) 5:4 p0.18 0 0 gpio port 0.18 0 0 1 capture 1.3 (timer 1) 1 0 miso (spi1) 1 1 match 1.3 (timer 1) 7:6 p0.19 0 0 gpio port 0.19 0 0 1 match 1.2 (timer 1) 1 0 mosi (spi1) 1 1 capture 1.2 (timer 1) 9:8 p0.20 0 0 gpio port 0.20 0 0 1 match 1.3 (timer 1) 1 0 ssel (spi1) 1 1 eint3
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 16 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 11:10 p0.21 0 0 gpio port 0.21 0 0 1 pwm5 1 0 reserved 1 1 capture 1.3 (timer 1) 13:12 p0.22 0 0 gpio port 0.22 0 0 1 reserved 1 0 capture 0.0 (timer 0) 1 1 match 0.0 (timer 0) 15:14 p0.23 0 0 gpio port 0.23 0 0 1 reserved 1 0 reserved 1 1 reserved 17:16 p0.24 0 0 gpio port 0.24 0 0 1 reserved 1 0 reserved 1 1 reserved 19:18 p0.25 0 0 gpio port 0.25 0 0 1 reserved 1 0 reserved 1 1 reserved 21:20 p0.26 0 0 reserved 0 0 1 reserved 1 0 reserved 1 1 reserved 23:22 p0.27 0 0 gpio port 0.27 1 0 1 ain0 (a/d input 0) 1 0 capture 0.1 (timer 0) 1 1 match 0.1 (timer 0) 25:24 p0.28 0 0 gpio port 0.28 1 0 1 ain1 (a/d input 1) 1 0 capture 0.2 (timer 0) 1 1 match 0.2 (timer 0) 27:26 p0.29 0 0 gpio port 0.29 1 0 1 ain2 (a/d input 2) 1 0 capture 0.3 (timer 0) 1 1 match 0.3 (timer 0) 29:28 p0.30 0 0 gpio port 0.30 1 0 1 ain3 (a/d input 0) 1 0 eint3 1 1 capture 0.0 (timer 0) table 7: pin function select register 1 (pinsel1 - 0xe002c004) continued pinsel1 pin name value function value after reset
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 17 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.9 pin function select register 2 (pinsel2 - 0xe002c014) the pinsel2 register controls the functions of the pins as per the settings listed in ta b l e 8 . the direction control bit in the iodir register is effective only when the gpio function is selected for a pin. for other functions direction is controlled automatically. settings other than those shown in the table are reserved, and should not be used. 6.10 general purpose parallel i/o device pins that are not connected to a speci?c peripheral function are controlled by the gpio registers. pins may be dynamically con?gured as inputs or outputs. separate registers allow setting or clearing any number of outputs simultaneously. the value of the output register may be read back, as well as the current state of the port pins. 6.10.1 features ? direction control of individual bits. ? separate control of output set and clear. ? all i/o default to inputs after reset. 6.11 10-bit a/d converter the lpc2114/LPC2124 each contain single 10-bit successive approximation analog to digital converter with four multiplexed channels. 6.11.1 features ? measurement range of 0 v to 3 v. ? capable of performing more than 400,000 10-bit samples per second. ? burst conversion mode for single or multiple inputs. ? optional conversion on transition on input pin or timer match signal. 31:30 p0.31 0 0 reserved 0 0 1 reserved 1 0 reserved 1 1 reserved table 7: pin function select register 1 (pinsel1 - 0xe002c004) continued pinsel1 pin name value function value after reset table 8: pin function select register 2 (pinsel2 - 0xe002c014) pinsel2 bits description reset value 1:0 reserved - 2 when 0, pins p1.31:26 are gpio pins. when 1, p1.31:26 are used as debug port. 0 3 when 0, pins p1.25:16 are used as gpio pins. when 1, p1.25:16 are used as trace port. 0 31:4 31:30 reserved -
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 18 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.12 uarts the lpc2114/LPC2124 each contain two uarts. one uart provides a full modem control handshake interface, the other provides only transmit and receive data lines. 6.12.1 features ? 16 byte receive and transmit fifos. ? register locations conform to 550 industry standard. ? receiver fifo trigger points at 1, 4, 8, and 14 bytes ? built-in baud rate generator. ? standard modem interface signals included on uart1. 6.13 i 2 c serial i/o controller i 2 c is a bi-directional bus for inter-ic control using only two wires: a serial clock line (scl), and a serial data line (sda). each device is recognized by a unique address and can operate as either a receiver-only device (e.g. an lcd driver or a transmitter with the capability to both receive and send information (such as memory). transmitters and/or receivers can operate in either master or slave mode, depending on whether the chip has to initiate a data transfer or is only addressed. i 2 c is a multi-master bus, it can be controlled by more than one bus master connected to it. i 2 c implemented in lpc2114/LPC2124 supports bit rate up to 400 kbit/s (fast i 2 c). 6.13.1 features ? standard i 2 c compliant bus interface. ? easy to con?gure as master, slave, or master/slave. ? programmable clocks allow versatile rate control. ? bidirectional data transfer between masters and slaves. ? multi-master bus (no central master). ? arbitration between simultaneously transmitting masters without corruption of serial data on the bus. ? serial clock synchronization allows devices with different bit rates to communicate via one serial bus. ? serial clock synchronization can be used as a handshake mechanism to suspend and resume serial transfer. ? the i 2 c bus may be used for test and diagnostic purposes. 6.14 spi serial i/o controller the lpc2114/LPC2124 each contain two spis. the spi is a full duplex serial interface, designed to be able to handle multiple masters and slaves connected to a given bus. only a single master and a single slave can communicate on the interface during a given data transfer. during a data transfer the master always sends a byte of data to the slave, and the slave always sends a byte of data to the master.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 19 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.14.1 features ? compliant with serial peripheral interface (spi) speci?cation. ? synchronous, serial, full duplex, communication. ? combined spi master and slave. ? maximum data bit rate of one eighth of the input clock rate. 6.15 general purpose timers the timer is designed to count cycles of the peripheral clock (pclk) and optionally generate interrupts or perform other actions at speci?ed timer values, based on four match registers. it also includes four capture inputs to trap the timer value when an input signal transitions, optionally generating an interrupt. multiple pins can be selected to perform a single capture or match function, providing an application with or and and, as well as broadcast functions among them. 6.15.1 features ? a 32-bit timer/counter with a programmable 32-bit prescaler. ? four 32-bit capture channels per timer that can take a snapshot of the timer value when an input signal transitions. a capture event may also optionally generate an interrupt. ? four 32-bit match registers that allow: C continuous operation with optional interrupt generation on match. C stop timer on match with optional interrupt generation. C reset timer on match with optional interrupt generation. ? four external outputs per timer corresponding to match registers, with the following capabilities: C set low on match. C set high on match. C toggle on match. C do nothing on match. 6.16 watchdog timer the purpose of the watchdog is to reset the microcontroller within a reasonable amount of time if it enters an erroneous state. when enabled, the watchdog will generate a system reset if the user program fails to feed (or reload) the watchdog within a predetermined amount of time. 6.16.1 features ? internally resets chip if not periodically reloaded. ? debug mode.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 20 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. ? enabled by software but requires a hardware reset or a watchdog reset/interrupt to be disabled. ? incorrect/incomplete feed sequence causes reset/interrupt if enabled. ? flag to indicate watchdog reset. ? programmable 32-bit timer with internal pre-scaler. ? selectable time period from (t pclk 256 4) to (t pclk 2 32 4) in multiples of t pclk 4. 6.17 real time clock the real time clock (rtc) is designed to provide a set of counters to measure time when normal or idle operating mode is selected. the rtc has been designed to use little power, making it suitable for battery powered systems where the cpu is not running continuously (idle mode). 6.17.1 features ? measures the passage of time to maintain a calendar and clock. ? ultra low power design to support battery powered systems. ? provides seconds, minutes, hours, day of month, month, year, day of week, and day of year. ? programmable reference clock divider allows adjustment of the rtc to match various crystal frequencies. 6.18 pulse width modulator the pwm is based on the standard timer block and inherits all of its features, although only the pwm function is pinned out on the lpc2114/LPC2124. the timer is designed to count cycles of the peripheral clock (pclk) and optionally generate interrupts or perform other actions when speci?ed timer values occur, based on seven match registers. the pwm function is also based on match register events. the ability to separately control rising and falling edge locations allows the pwm to be used for more applications. for instance, multi-phase motor control typically requires three non-overlapping pwm outputs with individual control of all three pulse widths and positions. two match registers can be used to provide a single edge controlled pwm output. one match register (mr0) controls the pwm cycle rate, by resetting the count upon match. the other match register controls the pwm edge position. additional single edge controlled pwm outputs require only one match register each, since the repetition rate is the same for all pwm outputs. multiple single edge controlled pwm outputs will all have a rising edge at the beginning of each pwm cycle, when an mr0 match occurs.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 21 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. three match registers can be used to provide a pwm output with both edges controlled. again, the mr0 match register controls the pwm cycle rate. the other match registers control the two pwm edge positions. additional double edge controlled pwm outputs require only two match registers each, since the repetition rate is the same for all pwm outputs. with double edge controlled pwm outputs, speci?c match registers control the rising and falling edge of the output. this allows both positive going pwm pulses (when the rising edge occurs prior to the falling edge), and negative going pwm pulses (when the falling edge occurs prior to the rising edge). 6.18.1 features ? seven match registers allow up to six single edge controlled or three double edge controlled pwm outputs, or a mix of both types. ? the match registers also allow: C continuous operation with optional interrupt generation on match. C stop timer on match with optional interrupt generation. C reset timer on match with optional interrupt generation. ? supports single edge controlled and/or double edge controlled pwm outputs. single edge controlled pwm outputs all go high at the beginning of each cycle unless the output is a constant low. double edge controlled pwm outputs can have either edge occur at any position within a cycle. this allows for both positive going and negative going pulses. ? pulse period and width can be any number of timer counts. this allows complete ?exibility in the trade-off between resolution and repetition rate. all pwm outputs will occur at the same repetition rate. ? double edge controlled pwm outputs can be programmed to be either positive going or negative going pulses. ? match register updates are synchronized with pulse outputs to prevent generation of erroneous pulses. software must release new match values before they can become effective. ? may be used as a standard timer if the pwm mode is not enabled. ? a 32-bit timer/counter with a programmable 32-bit prescaler. 6.19 system control 6.19.1 crystal oscillator the oscillator supports crystals in the range of 1 mhz to 30 mhz. the oscillator output frequency is called f osc and the arm processor clock frequency is referred to as cclk for purposes of rate equations, etc. f osc and cclk are the same value unless the pll is running and connected. refer to section 6.19.2 pll for additional information.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 22 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.19.2 pll the pll accepts an input clock frequency in the range of 10 mhz to 25 mhz. the input frequency is multiplied up into the range of 10 mhz to 60 mhz with a current controlled oscillator (cco). the multiplier can be an integer value from 1 to 32 (in practice, the multiplier value cannot be higher than 6 on this family of microcontrollers due to the upper frequency limit of the cpu). the cco operates in the range of 156 mhz to 320 mhz, so there is an additional divider in the loop to keep the cco within its frequency range while the pll is providing the desired output frequency. the output divider may be set to divide by 2, 4, 8, or 16 to produce the output clock. since the minimum output divider value is 2, it is insured that the pll output has a 50 % duty cycle.the pll is turned off and bypassed following a chip reset and may be enabled by software. the program must con?gure and activate the pll, wait for the pll to lock, then connect to the pll as a clock source. the pll settling time is 100 m s. 6.19.3 reset and wake-up timer reset has two sources on the lpc2114/LPC2124: the reset pin and watchdog reset. the reset pin is a schmitt trigger input pin with an additional glitch ?lter. assertion of chip reset by any source starts the wake-up timer (see wake-up timer description below), causing the internal chip reset to remain asserted until the external reset is de-asserted, the oscillator is running, a ?xed number of clocks have passed, and the on-chip flash controller has completed its initialization. when the internal reset is removed, the processor begins executing at address 0, which is the reset vector. at that point, all of the processor and peripheral registers have been initialized to predetermined values. the wake-up timer ensures that the oscillator and other analog functions required for chip operation are fully functional before the processor is allowed to execute instructions. this is important at power on, all types of reset, and whenever any of the aforementioned functions are turned off for any reason. since the oscillator and other functions are turned off during power-down mode, any wake-up of the processor from power-down mode makes use of the wake-up timer. the wake-up timer monitors the crystal oscillator as the means of checking whether it is safe to begin code execution. when power is applied to the chip, or some event caused the chip to exit power-down mode, some time is required for the oscillator to produce a signal of suf?cient amplitude to drive the clock logic. the amount of time depends on many factors, including the rate of v dd ramp (in the case of power on), the type of crystal and its electrical characteristics (if a quartz crystal is used), as well as any other external circuitry (e.g. capacitors), and the characteristics of the oscillator itself under the existing ambient conditions. 6.19.4 external interrupt inputs the lpc2114/LPC2124 include up to nine edge or level sensitive external interrupt inputs as selectable pin functions. when the pins are combined, external events can be processed as four independent interrupt signals. the external interrupt inputs can optionally be used to wake up the processor from power-down mode.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 23 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.19.5 memory mapping control the memory mapping control alters the mapping of the interrupt vectors that appear beginning at address 0x00000000. vectors may be mapped to the bottom of the on-chip flash memory, or to the on-chip static ram. this allows code running in different memory spaces to have control of the interrupts. 6.19.6 power control the lpc2114/LPC2124 support two reduced power modes: idle mode and power-down mode. in idle mode, execution of instructions is suspended until either a reset or interrupt occurs. peripheral functions continue operation during idle mode and may generate interrupts to cause the processor to resume execution. idle mode eliminates power used by the processor itself, memory systems and related controllers, and internal buses. in power-down mode, the oscillator is shut down and the chip receives no internal clocks. the processor state and registers, peripheral registers, and internal sram values are preserved throughout power-down mode and the logic levels of chip output pins remain static. the power-down mode can be terminated and normal operation resumed by either a reset or certain speci?c interrupts that are able to function without clocks. since all dynamic operation of the chip is suspended, power-down mode reduces chip power consumption to nearly zero. a power control for peripherals feature allows individual peripherals to be turned off if they are not needed in the application, resulting in additional power savings. 6.19.7 vpb bus the vpb divider determines the relationship between the processor clock (cclk) and the clock used by peripheral devices (pclk). the vpb divider serves two purposes. the ?rst is to provide peripherals with the desired pclk via vpb bus so that they can operate at the speed chosen for the arm processor. in order to achieve this, the vpb bus may be slowed down to 1 2 to 1 4 of the processor clock rate. because the vpb bus must work properly at power-up (and its timing cannot be altered if it does not work since the vpb divider control registers reside on the vpb bus), the default condition at reset is for the vpb bus to run at 1 4 of the processor clock rate. the second purpose of the vpb divider is to allow power savings when an application does not require any peripherals to run at the full processor rate. because the vpb divider is connected to the pll output, the pll remains active (if it was running) during idle mode. 6.20 emulation and debugging the lpc2114/LPC2124 support emulation and debugging via a jtag serial port. a trace port allows tracing program execution. debugging and trace functions are multiplexed only with gpios on port 1. this means that all communication, timer and interface peripherals residing on port 0 are available during the development and debugging phase as they are when the application is run in the embedded system itself.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 24 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 6.20.1 embedded ice? standard arm embeddedice logic provides on-chip debug support. the debugging of the target system requires a host computer running the debugger software and an embeddedice protocol convertor. embeddedice protocol convertor converts the remote debug protocol commands to the jtag data needed to access the arm core. the arm core has a debug communication channel function built-in. the debug communication channel allows a program running on the target to communicate with the host debugger or another separate host without stopping the program ?ow or even entering the debug state. the debug communication channel is accessed as a co-processor 14 by the program running on the arm7tdmi-s core. the debug communication channel allows the jtag port to be used for sending and receiving data without affecting the normal program ?ow. the debug communication channel data and control registers are mapped in to addresses in the embeddedice logic. 6.20.2 embedded trace since the lpc2114/LPC2124 have signi?cant amounts of on-chip memory, it is not possible to determine how the processor core is operating simply by observing the external pins. the embedded trace macrocell provides real-time trace capability for deeply embedded processor cores. it outputs information about processor execution to the trace port. the etm is connected directly to the arm core and not to the main amba system bus. it compresses the trace information and exports it through a narrow trace port. an external trace port analyzer must capture the trace information under software debugger control. instruction trace (or pc trace) shows the ?ow of execution of the processor and provides a list of all the instructions that were executed. instruction trace is signi?cantly compressed by only broadcasting branch addresses as well as a set of status signals that indicate the pipeline status on a cycle by cycle basis. trace information generation can be controlled by selecting the trigger resource. trigger resources include address comparators, counters and sequencers. since trace information is compressed the software debugger requires a static image of the code being executed. self-modifying code can not be traced because of this restriction. 6.20.3 realmonitor realmonitor is a con?gurable software module, developed by arm inc., which enables real time debug. it is a lightweight debug monitor that runs in the background while users debug their foreground application. it communicates with the host using the dcc (debug communications channel), which is present in the embeddedice logic. the lpc2114/LPC2124 contain a speci?c con?guration of realmonitor software programmed into the on-chip flash memory.
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 25 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 7. limiting values [1] the following applies to the limiting values: a) stresses above those listed under limiting values may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any conditions other than those described in section 8 static characteristics and section 9 dynamic characteristics of this speci?cation is not implied. b) this product includes circuitry speci?cally designed for the protection of its internal devices from the damaging effects of excessive static charge. nonetheless, it is suggested that conventional precautions be taken to avoid applying greater than the rated maximum. c) parameters are valid over operating temperature range unless otherwise speci?ed. all voltages are with respect to v ss unless otherwise noted. [2] including voltage on outputs in 3-state mode. [3] only valid when the v 3 supply voltage is present. [4] not to exceed 4.6 v. [5] the peak current is limited to 25 times the corresponding maximum current. [6] dependent on package type. table 9: limiting values in accordance with the absolute maximum rating system (iec 60134). [1] symbol parameter conditions min max unit v 18 supply voltage, internal rail - 0.5 +2.5 v v 3 supply voltage, external rail - 0.5 +3.6 v v 3a analog 3.3 v pad supply voltage - 0.5 4.6 v av in analog input voltage on a/d related pins - 0.5 5.1 v v i dc input voltage, 5 v tolerant i/o pins [2][3] - 0.5 6.0 v v i dc input voltage, other i/o pins [4][2] - 0.5 v 3 + 0.5 v i dc supply current per supply pin [5] - 100 ma i dc ground current per ground pin [5] - 100 ma t stg storage temperature [6] - 65 150 c p power dissipation (based on package heat transfer, not device power consumption) 1.5 - w
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 26 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 8. static characteristics table 10: static characteristics t amb = - 40 c to +85 c for commercial, unless otherwise speci?ed. symbol parameter conditions min typ [1] max unit v 18 supply voltage 1.65 1.8 1.95 v v 3 external rail supply voltage 3.0 3.3 3.6 v v 3a analog 3.3 v pad supply voltage 2.5 3.3 3.6 v standard port pins, reset, rtck i il low level input current, no pull-up v i =0 - - 3 m a i ih high level input current, no pull down v i =v 3 --3 m a i oz 3-state output leakage, no pull-up/down v o = 0, v o =v 3 --3 m a i latchup i/o latch-up current - (0.5 v 3 ) < v < (1.5 v 3 ) t j < 125 c 100 - - ma v i input voltage [2][3][4] 0 - 5.5 v v o output voltage, output active 0 - v 3 v v ih high level input voltage 2.0 - - v v il low level input voltage - - 0.8 v v hys hysteresis voltage - 0.4 - v v oh high level output voltage [5] i oh = - 4 ma v 3 - 0.4 - - v v ol low level output voltage [5] i ol = - 4 ma - - 0.4 v i oh high level output current [5] v oh =v 3 - 0.4 v - 4--ma i ol low level output current [5] v ol = 0.4 v 4 - - ma i oh high level short circuit current [6] v oh =0 - - - 45 ma i ol low level short circuit current [6] v ol =v 3 - - 50 ma i pd pull-down current v i =5v [7] 10 50 150 m a i pu pull-up current (applies to p1.16 - p1.25) v i =0 - 15 - 50 - 85 m a v 3 < v i < 5 v [7] 000 m a i 18 active mode v 18 = 1.8 v, cclk = 60 mhz, t amb =25 c, code while(1){} executed from flash, no active peripherals -60-ma power-down mode v 18 = 1.8 v, t amb = +25 c, - 10 - m a v 18 = 1.8 v, t amb = +85 c - 110 500 m a i 2 c pins v ih high level input voltage v tol is from 4.5 v to 5.5 v 0.7 v tol --v v il low level input voltage v tol is from 4.5 v to 5.5 v - - 0.3 v tol v v hys hysteresis voltage v tol is from 4.5 v to 5.5 v - 0.5 v tol -v
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 27 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. [1] typical ratings are not guaranteed. the values listed are at room temperature (+25 ?c), nominal supply voltages. pin capacita nce is characterized but not tested. [2] including voltage on outputs in 3-state mode. [3] v 3 supply voltages must be present. [4] 3-state outputs go into 3-state mode when v 3 is grounded. [5] accounts for 100 mv voltage drop in all supply lines. [6] only allowed for a short time period. [7] minimum condition for v i = 4.5 v, maximum condition for v i = 5.5 v. [1] conditions: v ssa =0v, v 3a = 3.3 v. [2] the a/d is monotonic, there are no missing codes. [3] the differential non-linearity (dle) is the difference between the actual step width and the ideal step width. see figure 4 . [4] the integral no-linearity (ile) is the peak difference between the center of the steps of the actual and the ideal transfer curve after appropriate adjustment of gain and offset errors. see figure 4 . [5] the offset error (ose) is the absolute difference between the straight line which ?ts the actual curve and the straight line which ?ts the ideal curve. see figure 4 . [6] the gain error (ge) is the relative difference in percent between the straight line ?tting the actual transfer curve after r emoving offset error, and the straight line which ?ts the ideal transfer curve. see figure 4 . [7] the absolute voltage error (ae) is the maximum difference between the center of the steps of the actual transfer curve of th e non-calibrated a/d and the ideal transfer curve. see figure 4 . v ol low level output voltage [5] i ol = 3 ma - - 0.4 v i lkg input leakage to v ss v i =v 3 -24 m a v i = 5 v - 10 22 m a oscillator pins x1 input voltages 0 - v 18 x2 output voltages 0 - v 18 on-chip flash program memory endurance (write and erase) 100,000 - - cycles data retention 20 - - years table 10: static characteristics continued t amb = - 40 c to +85 c for commercial, unless otherwise speci?ed. symbol parameter conditions min typ [1] max unit table 11: a/d converter dc electrical characteristics v 3a = 2.5 v to 3.6 v unless otherwise speci?ed; t amb = - 40 c to +85 c unless otherwise speci?ed; a/d converter frequency 4.5 mhz. symbol parameter min max unit av in analog input voltage 0 v 3a v c in analog input capacitance - 1 pf dl e differential non-linearity [1][2][3] - 1 lsb il e integral non-linearity [1][4] - 2 lsb os e offset error [1][5] - 3 lsb g e gain error [1][6] - 0.5 % a e absolute error [1][7] - 4 lsb
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 28 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. (1) example of an actual transfer curve. (2) the ideal transfer curve. (3) differential non-linearity (dl e ). (4) integral non-linearity (il e ). (5) center of a step of the actual transfer curve. fig 4. a/d conversion characteristics. 002aaa668 1023 1022 1021 1020 1019 (2) (1) 1024 1018 1019 1020 1021 1022 1023 7 123456 7 6 5 4 3 2 1 0 1018 (5) (4) (3) 1 lsb (ideal) code out v dda - v ssa 1024 offset error e o gain error e g offset error e o v ia (lsb ideal ) 1 lsb =
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 29 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 9. dynamic characteristics [1] parameters are valid over operating temperature range unless otherwise speci?ed. [2] bus capacitance c b in pf, from 10 pf to 400 pf. table 12: characteristics t amb =0 cto + 70 c for commercial, - 40 c to +85 c for industrial, v 18 , v 3 over speci?ed ranges [1] symbol parameter conditions min typ [1] max unit external clock f osc oscillator frequency supplied by an external oscillator (signal generator) 1 - 50 mhz external clock frequency supplied by an external crystal oscillator 1 - 30 mhz external clock frequency if on-chip pll is used 10 - 25 mhz external clock frequency if isp is used for initial code download 10 - 25 mhz t c oscillator clock period 20 - 1000 ns t chcx clock high time t c 0.4 - - ns t clcx clock low time t c 0.4 - - ns t clch clock rise time - - 5 ns t chcl clock fall time - - 5 ns port pins t rise port output rise time (except p0.2, p0.3) -10-ns t fall port output fall time (except p0.2, p0.3) -10-ns i 2 c pins t f output fall time from v ih to v il 20 + 0.1 c b [2] --ns
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 30 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 9.1 timing fig 5. external clock timing. t chcl t clcx t chcx t c t clch 002aaa416 0.2 v dd + 0.9 0.2 v dd - 0.1 v v dd - 0.5 v 0.45 v
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 31 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 10. package outline fig 6. sot314-2 (lqfp64). unit a max. a 1 a 2 a 3 b p ce (1) eh e ll p z y w v q references outline version european projection issue date iec jedec jeita mm 1.6 0.20 0.05 1.45 1.35 0.25 0.27 0.17 0.18 0.12 10.1 9.9 0.5 12.15 11.85 1.45 1.05 7 0 o o 0.12 0.1 1 0.2 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 0.75 0.45 sot314-2 ms-026 136e10 00-01-19 03-02-25 d (1) (1) (1) 10.1 9.9 h d 12.15 11.85 e z 1.45 1.05 d b p e q e a 1 a l p detail x l (a ) 3 b 16 c d h b p e h a 2 v m b d z d a z e e v m a x 1 64 49 48 33 32 17 y pin 1 index w m w m 0 2.5 5 mm scale lqfp64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm sot314-2
philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers product data rev. 03 22 december 2004 32 of 34 9397 750 13145 ? koninklijke philips electronics n.v. 2004. all rights reserved. 11. revision history table 13: revision history rev date cpcn description 03 20041222 - product data (9397 750 13145) modi?cations: ? section 6.2 on-chip flash program memory on page 9 ; updated text. ? section 6.19.2 pll on page 22 ; updated text. ? section 6.19.7 vpb bus on page 23 ; updated text. ? table 9 limiting values on page 25 ; updated storage temperature specs. ? table 10 static characteristics on page 26 ; adjusted i 18 typical value; added on-chip flash program memory specs 02 20040202 - preliminary data (9397 750 12805) 01 20031118 - preliminary data (9397 750 12327)
9397 750 13145 philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers ? koninklijke philips electronics n.v. 2004. all rights reserved. product data rev. 03 22 december 2004 33 of 34 contact information for additional information, please visit http://www.semiconductors.philips.com . for sales of?ce addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com . fax: +31 40 27 24825 12. data sheet status [1] please consult the most recently issued data sheet before initiating or completing a design. [2] the product status of the device(s) described in this data sheet may have changed since this data sheet was published. the l atest information is available on the internet at url http://www.semiconductors.philips.com. [3] for data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. 13. de?nitions short-form speci?cation the data in a short-form speci?cation is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values de?nition limiting values given are in accordance with the absolute maximum rating system (iec 60134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the speci?ed use without further testing or modi?cation. 14. disclaimers life support these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes philips semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. when the product is in full production (status production), relevant changes will be communicated via a customer product/process change noti?cation (cpcn). philips semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise speci?ed. 15. licenses 16. trademarks arm is a registered trademark of arm, inc. arm7tdmi-s is a trademark of arm, inc. embeddedice is a trademark of arm, inc. embedded trace macrocell is a trademark of arm, inc. realmonitor is a trademark of arm, inc. spi is a trademark of motorola, inc. thumb is a trademark of arm, inc. level data sheet status [1] product status [2][3] de?nition i objective data development this data sheet contains data from the objective speci?cation for product development. philips semiconductors reserves the right to change the speci?cation in any manner without notice. ii preliminary data quali?cation this data sheet contains data from the preliminary speci?cation. supplementary data will be published at a later date. philips semiconductors reserves the right to change the speci?cation without notice, in order to improve the design and supply the best possible product. iii product data production this data sheet contains data from the product speci?cation. philips semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. relevant changes will be communicated via a customer product/process change noti?cation (cpcn). purchase of philips i 2 c components purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c speci?cation de?ned by philips. this speci?cation can be ordered using the code 9398 393 40011.
? koninklijke philips electronics n.v. 2004. printed in the u.s.a. all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. date of release: 22 december 2004 document order number: 9397 750 13145 contents philips semiconductors lpc2114/LPC2124 single-chip 16/32-bit microcontrollers 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2.1 key features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 ordering information . . . . . . . . . . . . . . . . . . . . . 2 3.1 ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2 4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 5.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 functional description . . . . . . . . . . . . . . . . . . . 9 6.1 architectural overview. . . . . . . . . . . . . . . . . . . . 9 6.2 on-chip flash program memory . . . . . . . . . . . 9 6.3 on-chip static ram . . . . . . . . . . . . . . . . . . . . 10 6.4 memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 10 6.5 interrupt controller . . . . . . . . . . . . . . . . . . . . . 11 6.5.1 interrupt sources. . . . . . . . . . . . . . . . . . . . . . . 12 6.6 pin connect block . . . . . . . . . . . . . . . . . . . . . . 13 6.7 pin function select register 0 (pinsel0 - 0xe002c000). . . . . . . . . . . . . . . . . . . . . . . . 13 6.8 pin function select register 1 (pinsel1 - 0xe002c004). . . . . . . . . . . . . . . . . . . . . . . . 15 6.9 pin function select register 2 (pinsel2 - 0xe002c014). . . . . . . . . . . . . . . . . . . . . . . . 17 6.10 general purpose parallel i/o. . . . . . . . . . . . . . 17 6.10.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6.11 10-bit a/d converter . . . . . . . . . . . . . . . . . . . . 17 6.11.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6.12 uarts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6.12.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6.13 i 2 c serial i/o controller . . . . . . . . . . . . . . . . . . 18 6.13.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6.14 spi serial i/o controller. . . . . . . . . . . . . . . . . . 18 6.14.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6.15 general purpose timers . . . . . . . . . . . . . . . . . 19 6.15.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6.16 watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 19 6.16.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6.17 real time clock . . . . . . . . . . . . . . . . . . . . . . . . 20 6.17.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6.18 pulse width modulator . . . . . . . . . . . . . . . . . . 20 6.18.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.19 system control . . . . . . . . . . . . . . . . . . . . . . . . 21 6.19.1 crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 21 6.19.2 pll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6.19.3 reset and wake-up timer . . . . . . . . . . . . . . . . 22 6.19.4 external interrupt inputs . . . . . . . . . . . . . . . . . 22 6.19.5 memory mapping control . . . . . . . . . . . . . . . . 23 6.19.6 power control . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.19.7 vpb bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.20 emulation and debugging. . . . . . . . . . . . . . . . 23 6.20.1 embedded ice? . . . . . . . . . . . . . . . . . . . . . . 24 6.20.2 embedded trace. . . . . . . . . . . . . . . . . . . . . . . 24 6.20.3 realmonitor . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7 limiting values . . . . . . . . . . . . . . . . . . . . . . . . 25 8 static characteristics . . . . . . . . . . . . . . . . . . . 26 9 dynamic characteristics . . . . . . . . . . . . . . . . . 29 9.1 timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 10 package outline . . . . . . . . . . . . . . . . . . . . . . . . 31 11 revision history . . . . . . . . . . . . . . . . . . . . . . . 32 12 data sheet status. . . . . . . . . . . . . . . . . . . . . . . 33 13 de?nitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 14 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 15 licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 16 trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 33


▲Up To Search▲   

 
Price & Availability of LPC2124

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X